package com.sangcomz.fishbun.adapter.image.impl;

import com.sangcomz.fishbun.adapter.image.ImageAdapter;
import ohos.aafwk.ability.AbilitySlice;
import ohos.agp.components.Image;
import ohos.utils.net.Uri;


/**
 * Created by sangcomz on 23/07/2017.
 */

public class CoilAdapter implements ImageAdapter {

    @Override
    public void loadImage(AbilitySlice abilitySlice, Image target, Uri loadUrl) {
//        target.load(loadUrl) {
//            scale(Scale.FIT)
//            scale(Scale.FILL)
//        }
    }

    @Override
    public void loadDetailImage(AbilitySlice abilitySlice, Image target, Uri loadUrl) {
//        target.load(loadUrl) {
//            scale(Scale.FIT)
//        }
    }
}
